﻿// --------------------------------------------------------------------------------------------------------------------
// (c) Copyright Microsoft Corporation.
// This source is subject to the Microsoft Public License (Ms-PL).
// Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details.
// All other rights reserved.
// <Credits>
// Peter Torr
// http://blogs.msdn.com/b/ptorr/archive/2010/10/12/procrastination-ftw-lazylistbox-should-improve-your-scrolling-performance-and-responsiveness.aspx
// </Credits>
// --------------------------------------------------------------------------------------------------------------------
namespace WP7Contrib.View.Controls
{
    using System;

    /// <summary>
  /// Bitfields that can be used to help deal with LazyDataLoadState
  /// </summary>
  /// <remarks>
  /// These flags aren't ever used in the implementation, but they may be useful
  /// as you write your own data items / state machine
  /// </remarks>
  [Flags]
  public enum LazyDataCharacteristics
  {
    None,
    SmallAndFast = 1,
    SmallAndSlow = 2,
    LargeAndFast = 4,
    LargeAndSlow = 8,
    Small = SmallAndFast | SmallAndSlow,
    Large = LargeAndFast | LargeAndSlow,
    Fast = SmallAndFast | LargeAndFast,
    Slow = SmallAndSlow | LargeAndSlow,
    All = Small | Large | Fast | Slow,
  }
}
